package com.wf.controller;

import com.wf.vo.Result;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin(origins = {"http://localhost:5173", "http://localhost:5174"})
public class Vue3Controller {

    @GetMapping("/vue")
    public Result vue(){
        return Result.success("操作成功！");
    }
}
